﻿<Window x:Class="Power.Admin"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Admin" Height="342" Width="706">
    <Grid>
        <StackPanel>
            <Menu Height="23">

                <MenuItem Header="用户">
                    <MenuItem Header="查询" ></MenuItem>
                    <MenuItem Header="添加" ></MenuItem>
                </MenuItem>
                <MenuItem Header="全部显示" ></MenuItem>

                <MenuItem Header="开始查询" Click="MenuItem_Click"></MenuItem>

            </Menu>
            <DataGrid AutoGenerateColumns="True"  Name="dg1" />
        </StackPanel>
    </Grid>
</Window>